home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magic Disk 64
/
Magic_Disk_64_88-07_1988_-_de_Side_B.d64
/
koala entpacker
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2023-02-26
|
1KB
|
33 lines
1 rem "koala entpacker"
10 data169, 137, 141, 50, 3, 169, 3, 141, 51, 3, 169, 110, 141, 48, 3, 169
20 data3, 141, 49, 3, 169, 171, 160, 3, 32, 30, 171, 96, 32, 121, 0, 240
30 data17, 32, 253, 174, 32, 138, 173, 32, 247, 183, 133, 196, 132, 195, 169, 0
40 data133, 185, 165, 10, 76, 165, 244, 32, 121, 0, 240, 26, 32, 253, 174, 32
50 data138, 173, 32, 247, 183, 133, 194, 132, 193, 32, 253, 174, 32, 138, 173, 32
60 data247, 183, 133, 175, 132, 174, 76, 237, 245, 5, 0
70 ifpeek(49152)+peek(49153)<>285thenload".depacker $c000",8,1
90 restore:fori=850to940:reada:pokei,a:next:sys850
95 :
100 on(x+1)goto110,200
110 poke53281,0:poke53280,0:printchr$(14)"[147][153][203]oalabild [197]ntpacker"
120 input"[206]ame des gepackten [194]ildes";n$
130 open1,8,15:open2,8,2,n$+",p,r"
140 input#1,a,a$,b,c:close1:close2:ifa=0thenx=1:print"[194]ild wird geladen.":loadn$,8,1,12288
150 print"[150]*** [196][201][211][203] [197][210][210][207][210] ***[153]":print:printa;a$;b;c
160 print"[194]itte anderen [206]amen eingeben.":goto120
200 print:print"[194]ild wird entpackt, bitte warten...":poke250,0:poke251,48:sys49152
210 print"[147][206]ame des abzuspeichernden [203]oalabilds:":b$="":c$="":n$=""
220 input"[203]ennbuchstabe (a bis p)";b$
230 ifb$<"a"orb$>"p"then220
240 input"[206]ame (maximal 8 [218]eichen)";c$
250 c$=left$(c$,8):n$="[129]pic "+b$+" "+c$
260 iflen(n$)<15thenn$=n$+" ":goto260
270 print"[194]itte [218]ieldiskette einlegen und mit <<[210][197][212][213][210][206]>> bestaetigen."
280 geta$:ifa$<>chr$(13)then280
290 close1:open1,8,15:save(n$),8,1,24576,34577
300 input#1,a,a$,b,c:ifa=0thenclr:end
310 print"[150]*** [196][201][211][203] [197][210][210][207][210] ***[153]":print:printa;a$;b;c
320 print"[206]och ein [214]ersuch ([202]/[206])?"
330 geta$:ifa$<>"j"anda$<>"n"then330
340 ifa$="j"then210